package com.mall.product.feign;

import com.mall.common.dto.MemberPriceDTO;
import com.mall.common.dto.SkuReductionDTO;
import com.mall.common.dto.SpuBoundsDTO;
import com.mall.common.utils.Result;
import com.mall.product.vo.Skus;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @author: 谢君臣
 * @Date: 2022/7/25-15:46
 * @version: 1.0
 * @function:
 */

@FeignClient("couponServer")
public interface CouponFeignClient {
    @PostMapping("/coupon/feign/spubounds/save")
    Result saveSpuBounds(@RequestBody SpuBoundsDTO dto);

    @PostMapping("/coupon/feign/skureduction/save")
    Result saveSkuReduction(@RequestBody SkuReductionDTO skuReductionDTO);

}
